// Copyright (c) 2024, the Dart project authors.
// All rights reserved. Use of this source code is governed by a
// BSD-style license that can be found in the LICENSE file.

import 'dart:ffi' as ffi;

// Simple ArkValue implementation
class ArkValue {
  final dynamic value;
  
  ArkValue(this.value);
  
  @override
  String toString() => 'ArkValue($value)';
}

void _fillArkValue(ffi.Pointer<ffi.Void> pos, dynamic arg) {
  // Simple implementation - just store the value
  // TODO: Implement proper Napi value conversion
}

// Simple helper functions
ArkValue createArkValue(dynamic value) {
  return ArkValue(value);
}

dynamic extractArkValue(ArkValue arkValue) {
  return arkValue.value;
}